package com.lxk.wx.robot.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author huahua
 * @version 1.0.0
 * @date 2022-03-04 14:38
 * @description:
 */
@Setter
@Getter
@Configuration
@ToString
@ConfigurationProperties(prefix = "wx.webhook")
public class WechatBotConfig {


    private Boolean enabled = true;

    /**
     * 秘钥
     */
    private String key;

    /**
     * 秘钥
     */
    private List<String> keys;

    /**
     * 每分钟发送最大数量
     */
    private Integer maxMsgCount = 20;

}
